package com.songxh.application.dto.details;

import com.songxh.infrastructure.db.pojo.Article;
import com.songxh.infrastructure.db.pojo.ArticleBody;
import com.songxh.infrastructure.db.pojo.SysUser;
import lombok.Data;

import java.util.List;

/**
 * 详情页展示返回结果
 * @author songxh
 * @create 2022-12-20-15:30
 */
@Data
public class DetailsResultDTO {

    /**
     * 文章数据
     */
    private Article article;

    /**
     * 文章内容
     */
    private ArticleBody articleBody;

    /**
     * 作者信息
     */
    private SysUser sysUser;

    /**
     * 类别汇总表
     */
    private List<CategorySummaryDTO> categorySummaryDTOList;

    /**
     * 时间段文章汇总
     */
    private List<TimeSummaryDTO> timeSummaryDTOList;
}
